<template>
	<view class="navBar" :style="{ height: statusBarHeight + 'px' }"></view>
</template>

<script>
	let systemInfo = uni.getSystemInfoSync();
	export default {
		//属性
		data() {
			return {
				statusBarHeight:systemInfo.statusBarHeight
			};
		},
	}
</script>

<style scoped lang="scss">
	.navBar{
		width: 100%;
	}
</style>